crypto/tls.serverKeyExchangeMsg.key (field)
15 uses
crypto/tls (current package)
handshake_messages.go#L1504: key []byte
handshake_messages.go#L1511: length := len(m.key)
handshake_messages.go#L1517: copy(x[4:], m.key)
handshake_messages.go#L1528: m.key = data[4:]
key_agreement.go#L243: skx.key = make([]byte, len(serverECDHEParams)+sigAndHashLen+2+len(sig))
key_agreement.go#L244: copy(skx.key, serverECDHEParams)
key_agreement.go#L245: k := skx.key[len(serverECDHEParams):]
key_agreement.go#L276: if len(skx.key) < 4 {
key_agreement.go#L279: if skx.key[0] != 3 { // named curve
key_agreement.go#L282: curveID := CurveID(skx.key[1])<<8 | CurveID(skx.key[2])
key_agreement.go#L284: publicLen := int(skx.key[3])
key_agreement.go#L285: if publicLen+4 > len(skx.key) {
key_agreement.go#L288: serverECDHEParams := skx.key[:4+publicLen]
key_agreement.go#L291: sig := skx.key[4+publicLen:]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |